{include file="common/headerCommon"}
<style type="text/css">
    .video-search span,.video-search a{
        display: inline-block;

    }
    .video-search .search-video-title{
        width: 230px;
    }
    .video-search .search-video-desc{
        padding-left: 20px;
        float: left;
    }
 .qun-search  .wj-search{
    width: 398px;
    border: red;
    display: inline-block;
    text-align: left;
}
</style>
<div class="container search-big">
          <form action="/index/index/search.html" method="POST">
                <div class="qun-search">
                     <input class="wj-search" type="text" name="text" value="{$text}">
                     <input type="submit" name="搜索">
                </div>
          </form>
</div>
<div class="search-list container">
     <ul>
         <li class="{eq name="action" value="1"}search-blue{/eq}" ><a href="/index/index/search/action/1/text/{$text}.html">病理诊断</a></li>
         <li class="{eq name="action" value="2"}search-blue{/eq}"><a href="/index/index/search/action/2/text/{$text}.html">论坛</a></li>
         <li class="{eq name="action" value="3"}search-blue{/eq}"><a href="/index/index/search/action/3/text/{$text}.html">视频</a></li>
     </ul>
</div>
<div class="container-fluid buwei">

    <div class="container search-luntan-list " style="min-height: 500px;">
    {empty name="list"}
        <p style="height: 280px;text-align: center;">无搜索结果</p>
    {/empty}
    {switch name="action" }
    {case value="1" break="1"}
        {foreach name="list" item="vo"}
            <p class="search-luntan-title"><a href="/index/index/entryDetail/ids/{$vo.id}.html">{$vo.title}</a><span>{$vo.createtime|date="Y-m-d",###}</span></p>
        {/foreach}
    {/case}
    {case value="2"}
        {foreach name="list" item="vo"}
            <p class="search-luntan-title"><a href="/index/bbs/detail/ids/{$vo.id}.html">{$vo.title}</a><span>{$vo.createtime|date="Y-m-d",###}</span><span>{$vo.models.title}</span></p>
        {/foreach}
    {/case}
    {case value="3"}
        {foreach name="list" item="vo"}
            <p class="search-luntan-title video-search"><a href="/index/video/detail/ids/{$vo.id}.html" class="search-video-title">{$vo.title}</a><a class="search-video-desc">{$vo.list_desc}</a><span>{$vo.createtime|date="Y-m-d",###}</span><span>浏览：{$vo.hits}次</span></p>
        {/foreach}
    {/case}
    {/switch}
    </div>
    {$pages}

</div>
{include file="common/login"}
{include file="common/footer"}




        